package com.google.shop.product.search.vo;

//import org.apache.commons.configuration.tree.DefaultExpressionEngine;

/* loaded from: app.jar:BOOT-INF/classes/com/google/shop/product/search/vo/AmazonVO.class */
public class AmazonVO {
    String title;
    String price;
    String img;

    public void setTitle(String title) {
        this.title = title;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof AmazonVO)) {
            return false;
        }
        AmazonVO other = (AmazonVO) o;
        if (!other.canEqual(this)) {
            return false;
        }
        Object this$title = getTitle();
        Object other$title = other.getTitle();
        if (this$title == null) {
            if (other$title != null) {
                return false;
            }
        } else if (!this$title.equals(other$title)) {
            return false;
        }
        Object this$price = getPrice();
        Object other$price = other.getPrice();
        if (this$price == null) {
            if (other$price != null) {
                return false;
            }
        } else if (!this$price.equals(other$price)) {
            return false;
        }
        Object this$img = getImg();
        Object other$img = other.getImg();
        return this$img == null ? other$img == null : this$img.equals(other$img);
    }

    protected boolean canEqual(Object other) {
        return other instanceof AmazonVO;
    }

    public int hashCode() {
        Object $title = getTitle();
        int result = (1 * 59) + ($title == null ? 43 : $title.hashCode());
        Object $price = getPrice();
        int result2 = (result * 59) + ($price == null ? 43 : $price.hashCode());
        Object $img = getImg();
        return (result2 * 59) + ($img == null ? 43 : $img.hashCode());
    }

//    public String toString() {
//        return "AmazonVO(title=" + getTitle() + ", price=" + getPrice() + ", img=" + getImg() + DefaultExpressionEngine.DEFAULT_INDEX_END;
//    }

    public AmazonVO(String title, String price, String img) {
        this.title = title;
        this.price = price;
        this.img = img;
    }

    public AmazonVO() {
    }

    public String getTitle() {
        return this.title;
    }

    public String getPrice() {
        return this.price;
    }

    public String getImg() {
        return this.img;
    }
}
